package com.net.xpay.common.manager.collect;

import com.net.xpay.common.domain.collect.CollectionSafePayChannel;
import com.net.xpay.core.model.CollectionSafePayChannelSearchModel;
import com.net.common.manager.DomainManager;

import java.util.List;


public interface CollectionSafePayChannelManager extends DomainManager<Long, CollectionSafePayChannel> {
    CollectionSafePayChannel findByName(Long userId, String name);

    List<CollectionSafePayChannel> search(CollectionSafePayChannelSearchModel searchModel);

    long searchCount(CollectionSafePayChannelSearchModel searchModel);

    CollectionSafePayChannel findById(Long userId, Long id);

    CollectionSafePayChannel getByUuid(String uuid);

    List<CollectionSafePayChannel> list(CollectionSafePayChannelSearchModel searchModel);
}
